﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace OpenESSOConfigurator.PresentationLayer.UserControls
{
    public partial class ConfStoreView : UserControl,IView
    {
        
        public ConfStoreView()
        {
            InitializeComponent();
            directoryStoreView1=new DirectoryStoreView();
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (this.comboBox1.SelectedIndex)
            {
                case 0:
                    
                break;

                case 1:
                this.panel2.Controls.Add(directoryStoreView1);
                directoryStoreView1.Dock = DockStyle.Fill;
                break;

                case 2:
                this.panel2.Controls.Add(directoryStoreView1);
                directoryStoreView1.Dock = DockStyle.Fill;
                break;

                case 3:
                this.panel2.Controls.Add(directoryStoreView1);
                directoryStoreView1.Dock = DockStyle.Fill;
                break;
                default:
                    //
                break;
            }
        }
    }
}
